import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Jiang Jinxi
 * Date: 2024-03-23
 * Time: 19:49
 */
public class Test {
    public static void main(String[] args) {
        int[] array = {10,1,3,5,2,3,7,1,5,8,3,4,2,1};
        //Sort.insertSort(array);
        //Sort.shellSort(array);
        //Sort.selectSort1(array);
        //Sort.selectSort2(array);
        //Sort.heapSort(array);
        //Sort.bubbleSort(array);
        //Sort.quickSort(array);
        //Sort.quickSortNorR(array);
        //Sort.mergeSort(array);
        Sort.mergeSortNorR(array);
        System.out.println(Arrays.toString(array));
    }
}
